package test.demo.config;

import lombok.Data;
import test.demo.PropertyValues;

/**
 * @Description:
 * @author: JC
 * @date: 2023/4/4 23:03
 */
@Data
public class BeanDefinition {


    private Class beanClass;
    private PropertyValues propertyValues;


    public BeanDefinition(Class beanClass) {
        this.beanClass = beanClass;
        this.propertyValues = new PropertyValues();
    }

    public BeanDefinition(Class beanClass, PropertyValues propertyValues) {
        this.beanClass = beanClass;
        this.propertyValues = propertyValues != null ? propertyValues : new PropertyValues();
    }
}
